package com.zlx.exchange.user.service;


import com.zlx.exchange.domain.entity.User;
import org.springframework.http.ResponseEntity;

/**
 * (User)表服务接口
 *
 * @author makejava
 * @since 2023-09-04 18:59:42
 */
public interface UserService {
    /**
     *通过用户和密码查询
     * @param username
     * @param password
     * @return
     */
    User queryByUsername(String username, String password);

    Boolean register(String username,String password);

}
